<script setup>
// import {
//   Check,
//   Delete,
//   Edit,
//   Message,
//   Search,
//   Star,
// } from "@element-plus/icons-vue";
// import { ElButton } from "element-plus";
import {ref} from 'vue'
import ZXZX from './components/component.vue'



const open=ref(false)
</script>

<template>
  <div>
    <!-- <el-button>Default</el-button>
    <Teleport to="body">
      <el-button type="primary">Primary</el-button>
    </Teleport> -->
    <button @click="open = true">修改</button>
    <Teleport to="body">
      <ZXZX @clc="open=false" v-show="open"></ZXZX>
    </Teleport>
    
  </div>
</template>

<style scoped>
</style>
